/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 *
 * @author Kanak
 */
public class PaypalInfo {
     public String getCardNumber() {
        return cardnumber;
    }

    public int getSecurityNumber() {
        return securityCode;
    }

    public String getexpirationDate() {
        return expirationDate;
    }
    public String getfirstname() {
        return firstname;
        }
    public String gettype() {
        return cardtype;
    }
     public String getlastname() {
        return lastname;
        }
     public String getpaypalaccount() {
        return paypalaccount;
        }
         public String getpaypalpassword() {
        return paypalpassword;
        }

        public String getbankaccount() {
        return bankaccount;
        }
           public String getroutingnumber() {
        return routingnumber;
        }





    private String cardnumber;
    private String expirationDate;
    private int securityCode;
    private String firstname;
    private String cardtype;
    private String lastname;
    private String bankaccount;
    private String routingnumber;
    private String paypalpassword;
    private String paypalaccount;
 // this.cardnumber = cardnumber;
        //this.expirationDate = expirationdate;
        //this.securityCode = Integer.parseInt(securityCode);
        //this.cardtype = cardtype;

     public PaypalInfo(String firstname, String lastname, String paypalaccount,String paypalpassword)

    {
        this.firstname = firstname;
        this.lastname=lastname;
        this.paypalaccount=paypalaccount;
        this.paypalpassword=paypalpassword;
      //  this.routingnumber=routingnumber;
        //this.bankaccount=bankaccount;


        ConnectToDatabase connect = new ConnectToDatabase();
        connect.addPayPalPaymentInfo(this);

    }
}


